<template>
	<div class="loading-wrap" v-show="show">
		<div class="loading"></div>
	</div>
</template>
<style lang="sass">
	.loading-wrap{
		position: fixed;
	    z-index: 889;
	    background: rgba(0, 0, 0, 0.6);
	    left: 0;
	    right: 0;
	    bottom: 0;
	    top: 0;
	    .loading{
	    	position: absolute;
	    	top: 50%;
	    	left: 50%;
	    	transform: translate(-50%, -50%);
	    }
	}
</style>

<script>
	export default{
		props:{
			show:{
				type: Boolean,
				default: false
			}
		}
	}
</script>
